package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Arrays;

/**
 * 小程序角色对象 xcx_role
 * 
 * @author ruoyi
 * @date 2022-12-29
 */
public class XcxRole extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long xcxRoleId;

    /** 角色昵称 */
    @Excel(name = "角色昵称")
    private String name;

    /** 顺序 */
    @Excel(name = "顺序")
    private Long orderNumber;

    /** 权限标识 */
    @Excel(name = "权限标识")
    private String roleId;

    /** 是否冻结（1冻结） */
    @Excel(name = "是否冻结", readConverterExp = "1=冻结")
    private String freezeS;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer deleteS;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createData;

    /** 菜单组 */
    private Long[] menuIds;

    public Long[] getMenuIds() {
        return menuIds;
    }

    public void setMenuIds(Long[] menuIds) {
        this.menuIds = menuIds;
    }



    public void setXcxRoleId(Long xcxRoleId)
    {
        this.xcxRoleId = xcxRoleId;
    }

    public Long getXcxRoleId() 
    {
        return xcxRoleId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setOrderNumber(Long orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public Long getOrderNumber() 
    {
        return orderNumber;
    }
    public void setRoleId(String roleId)
    {
        this.roleId = roleId;
    }

    public String getRoleId()
    {
        return roleId;
    }
    public void setFreezeS(String freezeS) 
    {
        this.freezeS = freezeS;
    }

    public String getFreezeS() 
    {
        return freezeS;
    }
    public void setDeleteS(Integer deleteS) 
    {
        this.deleteS = deleteS;
    }

    public Integer getDeleteS() 
    {
        return deleteS;
    }
    public void setCreateData(String createData) 
    {
        this.createData = createData;
    }

    public String getCreateData() 
    {
        return createData;
    }

    @Override
    public String toString() {
        return "XcxRole{" +
                "xcxRoleId=" + xcxRoleId +
                ", name='" + name + '\'' +
                ", orderNumber=" + orderNumber +
                ", roleId='" + roleId + '\'' +
                ", freezeS='" + freezeS + '\'' +
                ", deleteS=" + deleteS +
                ", createData='" + createData + '\'' +
                ", menuIds=" + Arrays.toString(menuIds) +
                '}';
    }

}
